<template>
  <div></div>
</template>

<script>
// vue路由页面刷新使用，跳转回进来的路由
export default {
  beforeRouteEnter(to, from, next) {
    next(vm => {
      vm.$router.replace({ name: from.name, query: from.query, params: from.params })
    })
  }
}
</script>

<style lang="scss"></style>
